/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package BUS;

import DAO.ChuyenTauDAO;
import DTO.ChuyenTauDTO;

import java.sql.ResultSet;

/**
 *
 * @author Nobita Chau
 */
public class ChuyenTauBUS {
    public static ResultSet  TimKiemTatCa() {
        return ChuyenTauDAO.TimKiemTatCa();
    }
     public static boolean KiemTraTonTai(String MaNV)
    {
        return ChuyenTauDAO.KiemTraTonTai(MaNV);
    }
     public static boolean Them(ChuyenTauDTO n) {
         return ChuyenTauDAO.Them(n);
     }
    public static boolean Xoa(String id) {
         return ChuyenTauDAO.Xoa(id);
     }
     public static boolean Update(ChuyenTauDTO NV,String id){
          return ChuyenTauDAO.Update(NV,id);
     }
}
